/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gpaltan.db;

/**
 *
 * @author srkrishnan
 */
public class DBInfo
{
    String hostname;
    String username;
    String password;
    String dbname;
    int port;
    DBManager dbmanager;
    
    String errormsg="";

    public String getHostname()
    {
        return hostname;
    }

    public void setHostname(String hostname)
    {
        this.hostname = hostname;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public int getPort()
    {
        return port;
    }

    public void setPort(int port)
    {
        this.port = port;
    }

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getDbname()
    {
        return dbname;
    }

    public void setDbname(String dbname)
    {
        this.dbname = dbname;
    }

    public DBManager getDbmanager()
    {
        return dbmanager;
    }

    public void setDbmanager(DBManager dbmanager)
    {
        this.dbmanager = dbmanager;
    }

    public String getErrormsg()
    {
        return errormsg;
    }

    public void setErrormsg(String errormsg)
    {
        this.errormsg = errormsg;
    }
    
    
}
